how to use versioning